<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script type="text/javascript" src="<%=basePath%>datemaker/calendar.js"></script>
		<script type="text/javascript" src="<%=basePath%>datemaker/WdatePicker.js"></script>
		<script type="text/javascript" src="js/jquery-1.7.min.js"></script>
	  	<script type="text/javascript" src="manage/js/jquery.js"></script>
		<script type="text/javascript" src="manage/js/addbg.js"></script>
		<script type="text/javascript" src="<%=basePath%>manage/js/formCoCertificate.js"></script>
		<link rel="stylesheet" type="text/css" href="manage/css/addTravel.css" />
	</head>
	<center>
	<body>
		<form action="saveCoCertificate.action" method="post" enctype="multipart/form-data"  name="coCertificate" onsubmit="return login()">
			<table>
				<thead>
					<tr>
						<th colspan="2" align="center">资质证书录入</th>
					</tr>
					
				</thead>
			<tbody>
				<tr>
					<td>
						<label for="coCertificateName">
							证&nbsp;书&nbsp;名&nbsp;称
						</label>
					</td>
					<td>
						<input type name="coCertificate.name" id="coCertificateName" />
						<span class="emphasize">*</span>
					</td>
				</tr>

				<tr>
					<td>
						<label for="coCertificateIssueDate">
							发&nbsp;证&nbsp;日&nbsp;期
						</label>
					</td>
					<td>
						<input type="text" name="coCertificate.issueDate" class="Wdate"
							onClick="WdatePicker()" id="coCertificateIssueDate" />
						<span class="emphasize">*</span>
					</td>
				</tr>
				
				<tr>
					<td>
						<label for="coCertificateIssueUnit">
							发&nbsp;证&nbsp;单&nbsp;位
						</label>
					</td>
					<td>
						<input type="text" name="coCertificate.issueUnit"
							id="coCertificateIssueUnit"  />
						<span class="emphasize">*</span>
					</td>
				</tr>
				<tr>
					<td>
						<label for="coCertificateValidityPeriod">
							证&nbsp;书&nbsp;有&nbsp;效&nbsp;期
						</label>
					</td>
					<td>
						<input type="text" name="coCertificate.validityPeriod" class="Wdate"
							onClick="WdatePicker()" id="coCertificateValidityPeriod"/>
						<span class="emphasize">*</span>
					</td>
				</tr>		
				<tr>
					<td>
						<label for="coCertificateTypeId">
							证书类别
						</label>
					</td>
					<td>
					
						<select name="coCertificate.type.id" id="coCertificateType">
							<option value="5">
								营&nbsp;业&nbsp;执&nbsp;&nbsp;照
							</option>
							<option value="6">
								组织机构代码证
							</option> 
							<option value="4">
								其&nbsp;&nbsp;&nbsp;它
							</option>
						</select>
						<span class="emphasize">*</span>
					</td>
				</tr>
				<tr>
					<td>
						上&nbsp;传&nbsp;合&nbsp;同
					</td>
					<td>
						<s:file name="picture" accept="image/*" id="picture"/>&nbsp;
						<span class="emphasize">*</span>
					</td>
				</tr>
				</tbody>
				<tfoot>
					<tr>
						<td colspan="2" align="center" height="45px">
						<input class="submit" type="submit" value="提交" />
						<input class="reset" type="reset" value="重置" />
						</td>
					</tr>
				</tfoot>
				</table>
		</form>
	</body>
	</center>
</html>